import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/views/Home.vue'
import Article from '@/views/Article.vue'
import Finance from '@/views/Finance.vue'
import DairyLog from '@/views/DairyLog.vue'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home,
    },
    {
      path: '/dailyLog',
      name: 'dailyLog',
      component: DairyLog,
    },
    {
      path: '/article',
      name: 'article',
      component: Article,
    },
    {
      path: '/finance',
      name: 'finance',
      component: Finance,
    }
  ],
})

export default router
